package com.lzy.crm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lzy.crm.base.mybatis.BaseMapper;
import com.lzy.crm.dao.criteria.CrowdApplyCriteria;
import com.lzy.crm.domain.CrowdApply;

public interface CrowdApplyMapper extends BaseMapper<CrowdApply, CrowdApplyCriteria>{
	
	
	/**
	 * 查询群申请信息
	 * @param gameId
	 * @return
	 */
	public List<CrowdApply> getCrowdApplyListByGameId(@Param("gameId")String gameId);
	
	
	
	/**
	 * 我的申请信息
	 * @param gameId
	 * @return
	 */
	public List<CrowdApply> getMyCrowdApplyListByGameId(@Param("gameId")String gameId);
	
	
	
	
	/**
	 *  查询群申请的消息数量
	 * @param crowdId
	 * @param remark
	 */
	public int getApplyList(@Param("crowdId")int crowdId ,@Param("stauts")String stauts);

}
